#ifndef WHEEL_H
#define WHEEL_H

//#include "PlayState.h"
#include "Vec3.h"
#include "EventHandler.h"
#include "GlmMesh.h"
#include <vector>

class Wheel 
{
public:
	Wheel();
	//~Wheel();

	void Update();
	void Draw();
	bool Load(const std::string& filename);
	//void OnKeyboardEvent(const SDL_KeyboardEvent& event);
	//virtual void OnJoystickAxisEvent(const SDL_JoyAxisEvent& event);

	Vec3f& GetPos();
	Vec3f& GetVel();
	Vec3f& SetPos();
	void SetVel(Vec3f vel);
	void Direction();

private:
	Vec3f		m_pos;
	Vec3f		m_vel;
	float		m_angle;
	float		m_acc;
	float		m_rotVel;
	//bool		m_keyBoardMovingUp;
	//bool		m_keyBoardMovingDown;
	//bool		m_keyBoardRotating;
	//
	//float		m_speedPressed;
	//bool		m_moving;
	//bool		m_rotating;
	
	//meshes
	GlmMesh		m_flWheel;


};


#endif